package com.blq.web.PayoutInformation.domain.bo;

import com.blq.common.core.validate.AddGroup;
import com.blq.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.blq.common.core.domain.BaseEntity;

/**
 * 收款信息业务对象 payout_information
 *
 * @author Blq
 * @date 2022-09-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("收款信息业务对象")
public class PayoutInformationBo extends BaseEntity {

    /**
     * 收款单位
     */
    @ApiModelProperty(value = "收款单位", required = true)
    @NotBlank(message = "收款单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payoutFrom;

    /**
     * 收款人
     */
    @ApiModelProperty(value = "收款人", required = true)
    @NotBlank(message = "收款人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payoutUser;

    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人", required = true)
    @NotBlank(message = "联系人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payoutPhone;

    /**
     * 收款金额
     */
    @ApiModelProperty(value = "收款金额", required = true)
    @NotNull(message = "收款金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal payoutPrice;

    /**
     * 收款码
     */
    @ApiModelProperty(value = "收款码", required = true)
    @NotBlank(message = "收款码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String payoutCode;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", required = true)
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String payoutKey;


}
